<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>

<html>
  <head>
   
    <title>Zozopo - 注册新用户</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="Zozopo注册新用户,注册zozopo用户,zozopo用户注册">
	<meta http-equiv="description" content="Zozopo注册新用户">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style>
	<!--
	table {
	table-layout: fixed;
	word-wrap:break-word;
	}
	td{
		
		word-break:break-all;
	}
	
	}
	//-->
</style>
  </head>
  
  <body>

    <table width="100%"  border="0" cellpadding="0" cellspacing="0" height="100%">
    
    <tr valign="top">
  	
  		<td height="100">
  			 <jsp:include page="/user/head.jsp"></jsp:include>
  		</td>
  	</tr>
  	
    <tr>
    <td>
  <table width="100%"  border="0" cellpadding="0" cellspacing="0">
  

    <tr>
    	<td valign="top" width="270">
     		<div>
     		
     		</div>
				<s:include value="/user/left.jsp"></s:include>
			
							
     	</td>
     	
     	
     	<td valign="top" >
     	
     	<table width="100%" border="0" cellpadding="0" bgcolor="#e5f3ff" cellspacing="0" style= "border:1px solid #ffffff; border-top-color:#6cb1f1;">
     		<tr>
     			<td>请输入用户资料</td>
     		</tr>
     	</table>
    <form action="regist.action" id="manualregist" name="manualregist"  method="POST">
                  
    	<table  align="center">
    		<tr>
    			<td align="left"><strong>新用户注册:</strong></td>
    		</tr>
    	</table>
    	<table align="center">
    		<tr>
    			<td>
    			<s:fielderror id="errormessage"/>
    			
    			</td>
    		</tr>
    	</table>
    	<table align="center">
    		<tr >
    			<td width="100">用户名：</td>
    			<td width="170"><input name="username" type="text" maxlength="20" value="<s:property value="username"/>"/></td>
    			<td><font color="#c0c0c0">可是中、英文、数字，下划线及短横线中的组合。 </font></td>
    		</tr>
    		<tr>
    			<td>电子邮箱：</td>
    			<td><input name="email" type="text" maxlength="64" value="<s:property value="email"/>"/></td>
    			<td><font color="red">请输入您常用的邮箱，以便收取密码。建议使用qq邮箱</font></td>
    		</tr>
    		<tr>
    			<td>QQ：</td>
    			<td><input name="qq" type="text" maxlength="32" value="<s:property value="qq"/>"/></td>
    			<td><font color="red">请输入您常用的QQ，本网站以为QQ为准</font></td>
    		</tr>
    		<tr>
    			<td>用户密码： </td>
    			<td><input name="password" type="password" maxlength="20"/></td>
    			<td></td>
    		</tr>
    		<tr>
    			<td> 确认密码：</td>
    			<td><input name="comfirmpassword" type="password" maxlength="20"/></td>
    			<td></td>
    		</tr>
    		
    		<tr>
    			<td>验证码：</td>
    			<td><input name="valicode" type="text" maxlength="32"/></td>
    			<td id="valicodedisplay" > <img src="/jcaptcha" onclick="this.src=this.src+'?'" alt="看不清？点击更换"/> </td>
    		</tr>
    		
    		<tr>
    			<td></td>
    		</tr>
    		<tr>
    			<td></td>
    		</tr>
    		<tr>
    			<td></td>
    		</tr>
    	</table>
    	
    	<table width="950" align="center">
    	
    		<tr>
    			<td width="50"><input type="checkbox" onclick="javascript:agree_onclick()" checked value="agree" name="agree"/></td>
    			<td>我已仔细阅读并接受ZOZOPO社区的<a href="../about/regist_rule.jsp">《ZOZOPO社区基本法》</a> </td>
    			<td></td>
    		</tr>
    	</table>
    	
    	<table width="950" align="center">
    		<tr>
    			<td width="150"> <button type="submit" id="submitb" name="submitb">提交注册信息</button></td>
    			<td><a href="javascript:getVlicode();">看不清,换一个</a></td>
    		</tr>
    	</table>
    </form>
    </td>
</tr>


</table>
</td>
</tr>

<tr valign="bottom">
	<td>
		<jsp:include page="/manual/tail.jsp"></jsp:include>
	</td>
</tr>
</table>
  </body>
  <script type="text/javascript">
  
  function agree_onclick()
  {
  	document.manualregist.agree.checked==""
  	if(document.manualregist.agree.checked=="")
  	{document.manualregist.submitb.disabled=true;}
  	else
  	{document.manualregist.submitb.disabled=false;}
  }


  
  </script>

</html>
